package com.software.myopiachildren.content;


import android.os.Environment;

/**
 * @author penglei
 * @date 2020/04/08
 * 常量定义
 */
public class Constant {

    public static final String TAG = "MYOPIACHILDREN";

    // 线上
//    public static final String URL = "http://8.129.162.129:6008/";

    // 本地
    public static final String URL = "http://192.168.1.71:6008/";


    // bugly 版本更新
    public static final int VERSION_UPGRADE = 2; // 版本更新version_upgrade常量

    // 用户数据
    public static final String USER_ID = "userId";      //用户Id
    public static final String USER_TOKEN = "token";      //token
    public static final String USER_JWT_TOKEN = "jwt_token";      //用户jwt_token
    public static final String USER_NAME = "userName";      //用户名称
    public static final String SP_USER_DATA = "sp_user_data";      //用户参数

    public static final String DEVICE_CODE = "device_code"; //绑定设备
    public static final String BIND_DEVICE = "bind_device"; //绑定设备
    public static final String BLUE_CONN = "blue_conn"; //蓝牙连接
    public static final String CORR_DIS = "corr_dis"; //矫正距离

    public static final String BLUETOOTH_MAC = "bluetooth_mac"; //匹配蓝牙连接地址

    // bugly的id
    public static String BUGLY_APP_ID = "5f9b91ba1d";

    // 友盟的appkey
    public static String UMENG_APP_KEY = "5ee044dddbc2ec083df1a0be";
    public static String UMENG_MESSAGE_SECRET = "0e523a0556aae9a69a42cce42d2147ba";
    public static String UMENG_APP_MASTER_SECRET = "t59g8vkt0vyqiqbkl3jnkociw8p4xcwm";

    // QQ的key
    public static String QQ_APP_ID = "101879797";
    public static String QQ_APP_KEY = "a948e4d362b416f361d9fa0be47d9ec2";

    // 微信的key
    public static String WX_APP_ID = "wx4605aa5892e7b154";
    public static String WX_APP_SECRET = "7dcc2e7df19f155680c4f4683641df75";


    //接口请求
    public static final String CODE_SUCCESS = "10000"; //  成功
    public static final String CODE_FAILURE = "20001"; //  失败

    // 用户协议和隐私政策
    public static String YHXY_VIEW = "view/yhxy.html";
    public static String YSZC_VIEW = "view/yszc.html";

    public static final String SP_PRIVACY = "sp_privacy";
    public static final String SP_VERSION_CODE = "sp_version_code";


    // 录音保存位置
    public static final String WARNING_TYPE = "warning_type"; //矫正距离
    public static String RECORD_PATH_ABSOULT = "/sdcard/record/";

}
